package com.rk.admin.domain;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 教师
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel
public class Teacher {

    @TableId
    @ApiModelProperty(hidden = true)
    private Integer id;

    @ApiModelProperty(value = "教师姓名",required = true,dataType = "String",example = "王xxx")
    private String name;

    @ApiModelProperty(value = "教师学历",required = true,dataType = "String",example = "硕士研究生")
    private String degree;//学历

    @ApiModelProperty(value = "学院",required = true,dataType = "String",example = "信息工程学院")
    private String academy;//学院

    @ApiModelProperty(value = "职称",required = true,dataType = "String",example = "教授")
    private String professional;//职称
    @ApiModelProperty(value = "邮箱",required = true,dataType = "String",example = "xxx@126.com")
    private String email;//邮箱
    @ApiModelProperty(value = "个人经历",required = true,dataType = "String",example = "个人经历:xxx出生")
    private String experience;//经历

    @ApiModelProperty(value = "头像url",required =false,dataType = "String",example = "http://rbrbsa8ab.hn-bkt.clouddn.com/O4ejBnLAAl")
    private String avatar;//头像

}
